home *** CD-ROM | disk | FTP | other *** search
- Path: micro.internexus.net!not-for-mail
- From: master@micro.internexus.net (Laszlo Vecsey)
- Newsgroups: comp.lang.c++
- Subject: Using C libraries with reserved words
- Date: 2 Feb 1996 16:08:51 GMT
- Organization: The Internet Nexus
- Message-ID: <4etcuj$jcb@micro.internexus.net>
- NNTP-Posting-Host: micro.internexus.net
- X-Newsreader: TIN [UNIX 1.3 BETA-950824-color PL0]
-
- I have a compiled C library that I'm linking in to my C++ program (I
- wrapped the includes with extern C { }) The problem is that the
- precopmiled library has variables like 'class' and such which cannot be
- changed, I don't have the source. Is there anything I can do in this case?
-
-
- --
- (define(RSA m e n)(list->string(u(r(s(string->list m))e n))))(define(u a)(if(>
- a 0)(cons(integer->char(modulo a 256))(u(quotient a 256)))'()))(define(s a)(if
- (null? a)0(+(char->integer(car a))(* 256(s(cdr a))))))(define(r a x n)(cond((=
- 0 x)1)((even? x)(modulo(expt(r a(/ x 2)n)2)n))(#t(modulo(* a(r a(1- x)n))n))))
-
- "SGI and Linux both run Motif and X11. They both compile c++
- cleanly (using gnu g++). They're the same!"
-
-